package hspedu.learn.javabase.extendsImporve;

public class 重载 {
    //方法重载体现多态
    //重写和重载就体现多态
}
class Bb {
    public void say(){}
}
class Aa  extends Bb {
    public void sum() {

    }
    public void sum(String name) {

    }

}